﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Abp.Domain.Entities;
using Toolbelt.ComponentModel.DataAnnotations.Schema;

namespace HCD.Entities
{
    public class ExamV : Entity<string>
    {
        [Column("ID")]
        public override string Id { get => base.Id; set => base.Id = value; }
        /// <summary>
        /// 病人标识号
        /// </summary>
        [Column("PATIENT_ID")]
        public string PatientId { get; set; }

        /// <summary>
        /// 病人本次住院标识
        /// </summary>
        [Column("VISIT_ID")]
        public string VisitId { get; set; }

        /// <summary>
        /// 检查单号
        /// </summary>
        [Column("EXAM_NO")]
        public string ExamNo { get; set; }

        /// <summary>
        /// 临床诊断
        /// </summary>
        [Column("CLIN_DIAG")]
        public string ClinDiag { get; set; }

        /// <summary>
        /// 检查类别
        /// </summary>
        [Column("EXAM_CLASS")]
        public string ExamClass { get; set; }

        /// <summary>
        /// 检查子类
        /// </summary>
        [Column("EXAM_SUB_CLASS")]
        public string ExamSubClass { get; set; }

        /// <summary>
        /// 项目代码
        /// </summary>
        [Column("EXAM_ITEM_CODE")]
        public string ExamItemCode { get; set; }

        /// <summary>
        /// 项目名称
        /// </summary>
        [Column("EXAM_ITEM_NAME")]
        public string ExamItemName { get; set; }

        /// <summary>
        /// 申请日期及时间
        /// </summary>
        [Column("REQ_DATE_TIME")]
        public DateTime? ReqDateTime { get; set; }

        /// <summary>
        /// 申请医生
        /// </summary>
        [Column("REQ_DOCTOR")]
        public string ReqDoctor { get; set; }

        /// <summary>
        /// 检查日期及时间
        /// </summary>
        [Column("EXAM_DATE_TIME")]
        public string ExamDateTime { get; set; }
        
        /// <summary>
        /// 报告日期及时间
        /// </summary>
        [Column("REPORT_DATE_TIME")]
        public string ReportDateTime { get; set; }
        
        /// <summary>
        /// 检查状态
        /// </summary>
        [Column("EXAM_STATUS")]
        public string ExamStatus { get; set; }

    }
}
